package com.cc.dao.Impl;

import com.cc.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("orderDao")
public class OrderDaoImpl implements OrderDao {

    @Value("${name}")
    private String name;
    @Value("${money}")
    private String money;
    @Value("${colour}")
    private String colour;
    @Override
    public void showOrderDetail() {
        System.out.println("你的手机为:" + name);
        System.out.println("手机价格为:" + money);
        System.out.println("手机型号为:" + colour);
    }
}
